package com.cskaoyan.search.service;

import com.cskaoyan.search.remote.ProductApiClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @since: 2022-11-01 23:08
 * @author: lazy
 */
@Service
public class InitDataServiceImpl implements InitDataService {
    @Autowired
    ProductApiClient productApiClient;
    @Override
    public void initItems() {
        productApiClient.getAllProductItem();
    }
}
